Skip to contentSkip to conversation

New: Nouveau + nvidia GT240 = unworkable

Bug 33165 [email protected] 1 participant 46 messages Jan 15, 2011 – Dec 4, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=33165

Summary: Nouveau + nvidia GT240 = unworkable
Product: xorg
Version: 7.5
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

In most of the modern distros by default is loading nouveau for nvidia cards. When it loading by default, it hangs completely, don`t response on all known keys (example, Alt+SysRq+B). Logs was clear with 0 bytes. Problem was solved by change card for an older nvidia 9x00 and installing proprietary driver. After changing card was all fine. Card was checked for problems with some tests, all were passed.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

A message that is not in the archive (sent off-list or not yet received): bug-33165-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 33165] Nouveau + nvidia GT240 = unworkable

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #1 from Daniel Wyatt <[email protected]> 2011-01-17 08:53:41 PST --- Yes, this is quite annoying.
I recall I upgraded Ubuntu and rebooted only to encounter this hang.
I can't even boot up some of the live CDs (Ubuntu, Linux Mint, ...) without
bypassing nouveau.
I've switched back to the proprietary driver and everything is fine.
But we need to get to the bottom of this.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 33165] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #2 from Jonathan Heaney <agent_jdh-/[email protected]> 2011-01-31 10:17:45 PST --- The nouveau driver does not appear to provide acceleration (at least for the
moment) with GT240 cards. You can get X to start, however, by using

Option "NoAccel" "true"

In your X config.

It is painfully slow though, so the only real option is to use the proprietary NVidia driver.

The KMS/Nouveau framebuffer works as well, but again without acceleration, I have a copy of the dmesg output as it loads the driver and will upload if it will be useful; I guess the devs know of this issue with GT240's though.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 33165] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #4 from Eduard Gotwig <[email protected]> 2012-06-19 11:31:08 PDT --- Created attachment 63234
--> https://bugs.freedesktop.org/attachment.cgi?id=63234
VBIOS for NVIDIA GT ® 240

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#6 lore raw

[Bug 33165] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #5 from Maarten Maathuis <[email protected]> 2012-06-19 11:56:16 PDT --- You might want to actually post a recent kernel log showing your problem,
because the developers won't get anywhere with vague descriptions.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 33165] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #6 from Lucas Stach <[email protected]> 2012-06-19 14:05:20 PDT --- Also following up on your mailinglist post:
there is no general problem with nouveau and nv92, which is one of the most
common chipsets and works without problems for the most of us.

So you have to be more specific about what problems you do encounter in order to get real help.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 33165] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #7 from Dinny Wu <[email protected]> --- I'm trying to customize a live system based on Debian and it has encoutered the same issue with GT240 card. It seems that it works fine with other nVidia cards. But only for GT240, it simply boots and freezes when booting into X system.

If you need any logs, please let me know how to get them.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#9 lore raw

[Bug 33165] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #8 from Marcin Slusarz <[email protected]> --- Please follow http://nouveau.freedesktop.org/wiki/Bugs and open new bug report.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#10 lore raw

[Bug 33165] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive
#11 lore raw

[Bug 33165] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #10 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- *** Bug 57211 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#12 lore raw

[Bug 33165] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #11 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- *** Bug 49057 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#13 lore raw

[Bug 33165] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |eugene-l/[email protected]

--- Comment #12 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- *** Bug 52509 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#14 lore raw

[Bug 33165] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #13 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- *** Bug 41333 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#15 lore raw

[Bug 33165] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #14 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Please re-test with the latest kernel. There are reports of all nva3+ cards working fine for most people with current software.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#16 lore raw

[Bug 33165] [NVA3] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|Nouveau + nvidia GT240 =    |[NVA3] Nouveau + nvidia
                   |unworkable                  |GT240 = unworkable
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#17 lore raw

[Bug 33165] [NVA3] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #15 from Andrius Štikonas <[email protected]> --- I can still reproduce it with kernel 3.11 rc6. Should I run different kernel?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#18 lore raw

[Bug 33165] [NVA3] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #16 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to comment #15)

Quoted 1 line

I can still reproduce it with kernel 3.11 rc6. Should I run different kernel?

That is the right kernel. Can you describe exactly what it is that you can reproduce? Logs? etc. See http://nouveau.freedesktop.org/wiki/Bugs/ for what we need.

[I know some of the bugs I marked as a dup of this one had that for old versions, but I'd still like to see updated info.]

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#19 lore raw

[Bug 33165] [NVA3] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #17 from Andrius Štikonas <[email protected]> --- Created attachment 84637
--> https://bugs.freedesktop.org/attachment.cgi?id=84637&action=edit
kernel_log.txt

GPU locks up when nouveau module is started with KMS enabled. It is no longer possible to start X in this case but the ttys are still usable.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#20 lore raw

[Bug 33165] [NVA3] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #18 from Andrius Štikonas <[email protected]> --- Created attachment 84638
--> https://bugs.freedesktop.org/attachment.cgi?id=84638&action=edit
kernel_log_drm_debug_14.txt

Kernel log with drm.debug=14

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#21 lore raw

[Bug 33165] [NVA3] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #19 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Wow, so right on boot:

[   15.639931] nouveau E[     DRM] GPU lockup - switching to software fbcon
[   15.643599] [drm] Initialized nouveau 1.1.1 20120801 for 0000:04:00.0 on

minor 0

It locks up before the probe is even done! One thing to check -- do you have any old firmware in /lib/firmware/nouveau? You shouldn't need any firmware to run nva3 (except the video firmware if you want vdpau).

Also, could you produce a log with

drm.debug=14 nouveau.debug=trace

That might provide more info as to what's going on.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#22 lore raw

[Bug 33165] [NVA3] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

Andrius Štikonas <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #84638|0                           |1

is obsolete| |

--- Comment #20 from Andrius Štikonas <[email protected]> --- Created attachment 84652
--> https://bugs.freedesktop.org/attachment.cgi?id=84652&action=edit
kernel_log_nouveau_drm_debug.txt

There is certainly no firmware in /lib/firmware/nouveau. I've now attached a new dmesg output.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#23 lore raw

[Bug 33165] [NVA3] Nouveau + nvidia GT240 = unworkable

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #21 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- *** Bug 61460 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#24 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[NVA3] Nouveau + nvidia     |[NVA3, NVA8] gpu lockup
                   |GT240 = unworkable          |during driver probe
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#25 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #22 from Kevin Martin <[email protected]> --- I no longer have accel turned off but I have had to add:

Option "ShadowFB" "1" # [<bool>]

to get mine to work.

Xorg.0.log:

[   140.225] Current Operating System: Linux ktmtoshiba
3.11.0-0.rc6.git2.1.fc21.x86_64 #1 SMP Thu Aug 22 21:02:34 UTC 2013 x86_
64
[   140.225] Kernel command line:

BOOT_IMAGE=/vmlinuz-3.11.0-0.rc6.git2.1.fc21.x86_64 root=UUID=895ff4c3-db90-4071-aeab-a0ec2d6b
94cf ro rd.md=0 rd.lvm=0 rd.dm=0 rd.luks=0 ipv6.disable=1 rhgb quiet acpi_backlight=vendor acpi_osi=Linux

[   140.225] Build Date: 30 July 2013  06:10:29AM
[   140.225] Build ID: xorg-x11-server 1.14.2-9.fc20 
[   140.225] Current version of pixman: 0.30.0
[   140.567] (II) Module nouveau: vendor="X.Org Foundation"
[   140.567]     compiled for 1.14.2, module version = 1.0.9
[   140.567]     Module class: X.Org Video Driver
[   140.567]     ABI class: X.Org Video Driver, version 14.1

dmesg:

[    4.516476] fbcon: nouveaufb (fb0) is primary device
[    6.059440] nouveau E[     DRM] GPU lockup - switching to software fbcon
[    6.072773] nouveau 0000:01:00.0: fb0: nouveaufb frame buffer device
[    6.072776] nouveau 0000:01:00.0: registered panic notifier
[    6.072852] [drm] Initialized nouveau 1.1.1 20120801 for 0000:01:00.0 on

minor 0

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#26 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #23 from Martin Peres <[email protected]> --- So, Stikonas's bug is due to PGRAPH not processing any commands .... ever.

I pushed his mmiotrace in the vbios repo for anyone willing to check what is wrong in nouveau's way of setting up pgraph.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#27 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #24 from Andrius Štikonas <[email protected]> --- *** Bug 52244 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#28 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #25 from Oleg Bulatov <[email protected]> --- Still present in 3.13.2-gentoo. I found that -EBUSY returns from nv50_fbcon_imageblit.

Quoted 1 line

what is wrong in nouveau's way of setting up pgraph.

Does it mean that the bug somewhere in nv50_grctx_generate? Just to be sure that bug in this function, is it possible to replace it using data from mmiotrace of nvidia driver? For me it is not obvious how to modificate nv50_grctx_fill in that case, what nv50_grctx_init should write to *size and, after all, may it help somehow?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#29 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #26 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Created attachment 95408
--> https://bugs.freedesktop.org/attachment.cgi?id=95408&action=edit
initialize stuff for gddr5 ram

This patch is based on Andrew's mmiotrace. I saw a sequence of init that I didn't see in other traces for working cards. Andrew -- would be interesting if you could check it out and see if it helps. The algorithm I came up with is insane -- there has to be some sort of data-driven thing going on there, but I couldn't work it out.

For people having issues, please do a mmiotrace of the blob loading on your card (see https://wiki.ubuntu.com/X/MMIOTracing for instructions), and send it (xz -9'd) to mmio.dumps-Re5JQEeQqe9fmgfxC/sS/[email protected]

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#30 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #27 from Andrius Štikonas <[email protected]> --- (In reply to comment #26)

Quoted 9 lines

Created attachment 95408 [details] [review]
initialize stuff for gddr5 ram

This patch is based on Andrew's mmiotrace. I saw a sequence of init that I didn't see in other traces for working cards. Andrew -- would be interesting if you could check it out and see if it helps. The algorithm I came up with is insane -- there has to be some sort of data-driven thing going on there, but I couldn't work it out.

Quoted 3 lines

For people having issues, please do a mmiotrace of the blob loading on your card (see https://wiki.ubuntu.com/X/MMIOTracing for instructions), and send it (xz -9'd) to mmio.dumps-Re5JQEeQqe9fmgfxC/sS/[email protected]

I might be able to test this patch in the middle of April. Sorry, I can't access that computer now.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#31 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #28 from Oleg Bulatov <[email protected]> --- For me, with this patch the problem is still present. I sent my mmiotrace (NVIDIA Corporation GT215 [GeForce GT 240]).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#32 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #29 from Oleg Bulatov <[email protected]> --- Created attachment 95418
--> https://bugs.freedesktop.org/attachment.cgi?id=95418&action=edit
another patch for gddr5 ram

I made this patch using my mmiotrace, but it doesn't help either.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#33 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #30 from Oleg Bulatov <[email protected]> --- Comment on attachment 95408
--> https://bugs.freedesktop.org/attachment.cgi?id=95408
initialize stuff for gddr5 ram

Review of attachment 95408:
-----------------------------------------------------------------

::: drivers/gpu/drm/nouveau/core/subdev/fb/ramnva3.c @@ +365,5 @@

Review

Quoted 5 lines
(quoted diff) +5 -0
+		/* XXX this algorithm is insane, find some sanity to it. */
+		/* [1] MMIO32 R 0x100268 0x30030200 PFB.SUBPART_CONFIG => { SELECT_MASK = 0x2 | UNK16 = 0x3 | ENABLE_MASK = 0x3 } */
+		nv_wr32(pfb, 0x10fcac, 0x00001f01);
+		for (o = 0; o < 4; o++) {
+			int off = offsets[i];

maybe int off = offsets[o]; ?

@@ +387,5 @@

Review

Quoted 5 lines
(quoted diff) +5 -0
+			for (i = 0x20, idx = 0; i < 0x30; i++, idx++) {
+				int pat = pattern[2 + (idx % 2)];
+				if (i == 0x26)
+					pat = 0;
+				if (i == 0x1f)

looks like this condition is always false in this for-loop

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#34 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #31 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to comment #29)

Quoted 4 lines

Created attachment 95418 [details] [review]
another patch for gddr5 ram

I made this patch using my mmiotrace, but it doesn't help either.

Oh well. Indeed the values in your mmiotrace are different, but your and Andrew's mmiotrace are the only traces I've seen that actually have the writes to those 0x10fxyz registers. (A few other traces have writes to the similar-but-different DDR3 registers.)

And yes, I definitely did want to use offsets[o] in my patch.

Well, perhaps this 0x10f stuff has nothing to do with the issue. My observation was that it seemed like for all the people it was broken for had GDDR5 ram, which is why I went in this direction.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#35 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #32 from [email protected] --- I'm trying like crazy to figure out why I have GPU lockups, but all the bugs seem to dead end. What is the current status of this? More information, not going to fix, unconfirmed? I have an NVA3 card (Quadro FX 1800M, GT215) which cannot startx with acceleration, even with firmware.

Let me know if that's applicable to this bug and how I can provide information, if so. For reference, I'm on Arch 64bit. Trying to track down similar bugs to decide if I'm a duplicate issue or if I should start a new report.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#36 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #33 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- *** Bug 77371 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#37 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #34 from Ben Skeggs <[email protected]> --- Could you guys give this patch a try?

http://cgit.freedesktop.org/~darktama/nouveau/commit/?id=1205e927a835cf9d707bd558c067f4c00ed31ec5

Thanks,
Ben.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#38 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #35 from Oleg Bulatov <[email protected]> --- Awesome, it works for me.

Linux 3.14.14-gentoo
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NVA3
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.2.7 OpenGL core profile shading language version string: 3.30

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#39 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #36 from Oleg Bulatov <[email protected]> --- Created attachment 107979
--> https://bugs.freedesktop.org/attachment.cgi?id=107979&action=edit
noise example

In glxgears on some frames appears color noise, and it disappears or changes on next frame.
Noise appears at some frames in glxgears, and it disappears or on next frame. Same style noise may appear (shuffled pixels) while scrolling in Firefox or switching tabs.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#40 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #37 from Oleg Bulatov <[email protected]> --- Created attachment 107980
--> https://bugs.freedesktop.org/attachment.cgi?id=107980&action=edit
kernel log for weston freeze

In weston at some time computer stops responding at keyboard and mouse events.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#41 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #38 from [email protected] --- I applied that patch to Ubuntu Trusty 3.13.0-38.65, and it gives a huge improvement. X no longer crashes on startup, and 3D acceleration works.

However I also get the glitchy noise a few times a second, except when showing a static image. It is all over the screen, and sometimes appears as triangles.

Running glxgears and Firefox at the same time also starts giving errors in the kernel log pretty quickly.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#42 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

--- Comment #39 from [email protected] --- Created attachment 108030
--> https://bugs.freedesktop.org/attachment.cgi?id=108030&action=edit
Firefox and glxgears at the same time

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#43 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #40 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- *** Bug 78570 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#44 lore raw

[Bug 33165] [NVA3, NVA8] gpu lockup during driver probe

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #41 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- *** Bug 89991 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#45 lore raw

[Bug 33165] [NVA3] GDDR5 vram -> flickering screen (previously GPU lockup)

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[NVA3, NVA8] gpu lockup     |[NVA3] GDDR5 vram ->
                   |during driver probe         |flickering screen
                   |                            |(previously GPU lockup)
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#46 lore raw

[Bug 33165] [NVA3] GDDR5 vram -> flickering screen (previously GPU lockup)

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=33165

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #42 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/12.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau